package com.qianli.cashmama.trade.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.qianli.cashmama.trade.dao.TTradeExtraDao;
import com.qianli.cashmama.trade.entity.TTradeExtraEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
* User: frank
* Date: 2020-03-18
* Time: 17:52:50.864
*/

@Repository
public class TTradeExtraDaoImpl extends AbstractBaseMapper<TTradeExtraEntity> implements TTradeExtraDao {

    @Override
    public TTradeExtraEntity selectByTradeNo(String tradeNo) {
        Map<String, Object> map = new HashMap<>();
        map.put("tradeNo", tradeNo);
        return getSqlSession().selectOne(getStatement("selectByTradeNo"), map);
    }
}
